<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<title>备件列表</title>
		<!-- css代码 start -->
		<link href="../../../../../css/mui.min.css" rel="stylesheet" />
		<link href="../../../../../css/global.css" rel="stylesheet" />
		<link href="../../../../../css/style.css" rel="stylesheet" />
		<link href="../../../../../css/task.css" rel="stylesheet" />
		<style>
			.item_box .item .text span{
				width: 90px;
			}
			#div {
				width: 0px;
				height: 0px;
				background: red;
				position: fixed;
				top: 70%;
				left: 50%;
			}
					
			/*移除底部或顶部三角,需要在删除此代码*/
			.mui-popover .mui-popover-arrow:after {
				width: 0px;
			}
			
			.item_box .item .text {
			    height: auto;
			    line-height: 24px;
			    overflow: hidden;
				display: flex;
				justify-content: flex-start;
			}
			.item_box .item .text .text-title {
				width: 102px;
				float: left;
			}
			.item_box .item .text .text-value {
				width: 75%;
				display: inline-block;
				margin-right: 10px;
				word-wrap: break-word;
				word-break: break-all;
				overflow: hidden;
				color: #333;
			}
		</style>
		<!-- css代码 end -->
	</head>
	<body>

		<div id="div"></div>
		<div id="popover" class="mui-popover shadow popover">
			<p class="title" id="title">您确定要删除该备件信息吗？</p>
			<div class="btn_box">
				<span class="fl" onclick="closePopover()">取消</span>
				<span class="fr red" onclick="fixedDel()">确定</span>
			</div>
		</div>

		<!-- html代码 start -->
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 id="title" class="mui-title">备件列表</h1>
		</header>
		<div class="mui-content">
			<div hidden>
				<input type="hidden" id="portType" />
				<input type="hidden" id="phoneHelpId" />
				<input type="hidden" id="serviceNo" />
			</div>
			<div class="item_box" id="itemBox"></div>
		</div>
		<!-- html代码 end -->

		<!-- js代码 start -->

		<!-- 基础js start -->
		<script src="../../../../../js/mui.min.js"></script>
		<script src="../../../../../js/utils/h.js"></script>
		<script src="../../../../../js/constant.js"></script>
		<script src="../../../../../js/common.js"></script>
		<script src="../../../../../js/utils/base64.js"></script>
		<script src="../../../../../js/utils/md5.js"></script>
		<script src="../../../../../js/utils/sortMap.js"></script>
		<script src="../../../../../js/utils/http.js"></script>
		<script src="../../../../../js/app.js"></script>
		<!-- 基础js end -->
		<script src="../../../../../js/fse/service/report/phone/spareparts/spareparts.js"></script>
		<script type="text/javascript" charset="utf-8">
			// 提交状态 0未提交 1已提交
			var submitStatus = 0;
			(function($, doc) {
				$.init();

				$.plusReady(function() {
					var self = plus.webview.currentWebview();
					// 获取上一个页面传过来的参数并显示到页面
					submitStatus = self.submitStatus;
					h('#serviceNo').val(self.serviceNo);
					h('#phoneHelpId').val(self.phoneHelpId);
					h('#portType').val(self.type)

					listSpareparts(h('#serviceNo').val(), h('#phoneHelpId').val(), h('#portType').val())
				});
			}(mui, document));
		</script>
		<!-- js代码 end -->
	</body>
</html>
